package com.zzw.bean;

import com.zzw.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class TChargeBox extends BasicEntity {
    private Integer id;

    private String boxId;

    private String modelId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer signalStrength;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUseTime;

    private String isOnline;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date onlineTime;

    private String boxStatus;

    private String storeId;

    @Excel(name = "发货状态", readConverterExp = "-1=未入库,0=未配置,1=已发货,2=发货中,3=已使用,4=撤库中,5=已配置未使用")
    private String status;

    private String buyPerson;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date buyTime;

    private String systemApart;

    private String deviceName;

    private String generalAgent;

    private String merchantNumber;

    private String organizeId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date firstUsetime;

    private String qrCode;

    private String thirdOpertype;

    private String outUse;

    private String province;//省

    private String city;//市

    private String area;//区

    private String pca;//省市区
    public String getBoxId() {
        return boxId;
    }

    public void setBoxId(String boxId) {
        this.boxId = boxId == null ? null : boxId.trim();
    }

    public String getModelId() {
        return modelId;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId == null ? null : modelId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getSignalStrength() {
        return signalStrength;
    }

    public void setSignalStrength(Integer signalStrength) {
        this.signalStrength = signalStrength;
    }

    public Date getLastUseTime() {
        return lastUseTime;
    }

    public void setLastUseTime(Date lastUseTime) {
        this.lastUseTime = lastUseTime;
    }

    public String getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(String isOnline) {
        this.isOnline = isOnline == null ? null : isOnline.trim();
    }

    public Date getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

    public String getBoxStatus() {
        return boxStatus;
    }

    public void setBoxStatus(String boxStatus) {
        this.boxStatus = boxStatus == null ? null : boxStatus.trim();
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId == null ? null : storeId.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getBuyPerson() {
        return buyPerson;
    }

    public void setBuyPerson(String buyPerson) {
        this.buyPerson = buyPerson == null ? null : buyPerson.trim();
    }

    public Date getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(Date buyTime) {
        this.buyTime = buyTime;
    }

    public String getSystemApart() {
        return systemApart;
    }

    public void setSystemApart(String systemApart) {
        this.systemApart = systemApart == null ? null : systemApart.trim();
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public String getGeneralAgent() {
        return generalAgent;
    }

    public void setGeneralAgent(String generalAgent) {
        this.generalAgent = generalAgent == null ? null : generalAgent.trim();
    }

    public String getMerchantNumber() {
        return merchantNumber;
    }

    public void setMerchantNumber(String merchantNumber) {
        this.merchantNumber = merchantNumber == null ? null : merchantNumber.trim();
    }

    public String getOrganizeId() {
        return organizeId;
    }

    public void setOrganizeId(String organizeId) {
        this.organizeId = organizeId == null ? null : organizeId.trim();
    }

    public Date getFirstUsetime() {
        return firstUsetime;
    }

    public void setFirstUsetime(Date firstUsetime) {
        this.firstUsetime = firstUsetime;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode == null ? null : qrCode.trim();
    }

    public String getThirdOpertype() {
        return thirdOpertype;
    }

    public void setThirdOpertype(String thirdOpertype) {
        this.thirdOpertype = thirdOpertype == null ? null : thirdOpertype.trim();
    }

    public String getOutUse() {
        return outUse;
    }

    public void setOutUse(String outUse) {
        this.outUse = outUse == null ? null : outUse.trim();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getPca() {
        return pca;
    }

    public void setPca(String pca) {
        this.pca = pca;
    }
}
